<template>
  <div>
    <el-button @click="showPanorama">panorama</el-button>
    <photo-sphere-viewer ref="PVG"></photo-sphere-viewer>
  </div>
</template>

<script>
import photoSphereViewer from '../components/PhotoSphereViewer'

export default {
  components: { photoSphereViewer },
  methods: {
    showPanorama () {
      this.$refs.PVG.propShow()
    }
  }
}
</script>
